﻿using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Data;
using System.Windows.Media;
using NJT.ValueConverter;

namespace FM.矩阵.控制.ValueConverter
{
    public class 界面锁定按钮背景转换 : IValueConverter
    {

        public object Convert(object value, Type targetType, object parameter,
            CultureInfo culture)
        {
            return Bool转换.转换(value, Brushes.Pink, SystemColors.ControlLightLightBrushKey);
        }

        public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
        {
            throw new NotImplementedException();
        }

    }
}
